/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tmp.ac.options;

import javax.swing.JFrame;
import javax.swing.JInternalFrame;

/**
 *
 * @author ismail
 */
public class DataFrame implements DataItems{



    private static JFrame updateData(String Class) {

        JFrame returnData = null;
        if (Class.equalsIgnoreCase("genStteing")) {
            //returnData = new com.ui.setting.genSetting();
        }
        return returnData;


    }

    private static JInternalFrame updateIData(String Class) {

        JInternalFrame returnData = null;
        if (Class.equalsIgnoreCase("genStteing")) {
            returnData = new tmp.ac.ui.setting.NewJInternalFrame2();
        }
        return returnData;


    }

    public static JFrame getFrame(String Class) {



        return DataFrame.updateData(Class);
    }

    public static JInternalFrame getIFrame(String Class) {



        return DataFrame.updateIData(Class);
    }
}
